package com.iter.devbox.pattern.adapter;

/**客户端*/
public class Client {
	public static void main(String[] args) {
		//类适配器方式
		Target target = new Adapter();
		target.method();
		
		//对象适配器方式
		Source source = new Source();
		Target target2 = new Adapter2(source);
		target2.method();
	}
}
